package com.ildepinc.persistence.abstracts;

import java.sql.Timestamp;

import com.ildepinc.persistence.interfaces.RecordExpirableBehaviour;

public abstract class TableAuditableExpirable extends TableAuditable implements RecordExpirableBehaviour {
  private Boolean active;
  public Timestamp validFrom;
  public Timestamp validTo;

  public Boolean isActive() {
    return this.active;
  }

  public Timestamp getValidFrom() {
    return this.validFrom;
  }

  public Timestamp getValidTo() {
    return this.validTo;
  }

  public void setActive(Boolean active) {
    this.active = active;
  }

  public void setValidFrom(Timestamp validFrom) {
    this.validFrom = validFrom;
  }

  public void setValidTo(Timestamp validTo) {
    this.validTo = validTo;
  }
}
